home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 114 / PC Guia 114.iso / Software / Utils / The Gimp 2.2.1 / gimp-help-2-0.6-setup.exe / {app} / share / gimp / 2.0 / help / en / ch02s04s05.html < prev    next >
Encoding:
Extensible Markup Language  |  2004-12-19  |  11.2 KB  |  247 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>4.5.┬áUndoing</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
  10.     <link rel="start" href="index.html" title="GIMP User Manual" />
  11.     <link rel="up" href="ch02s04.html" title="4.┬áWorking with Images" />
  12.     <link rel="prev" href="ch02s04s04.html" title="4.4.┬áThe Selection" />
  13.     <link rel="next" href="ch02s04s06.html" title="4.6.┬áGrids and Guides" />
  14.   </head>
  15.   <body>
  16.     <div xmlns="" class="navheader">
  17.       <table width="100%" summary="Navigation header">
  18.         <tr>
  19.           <th colspan="3" align="center" id="chaptername">4.┬áWorking with Images</th>
  20.         </tr>
  21.         <tr>
  22.           <td width="20%" align="left"><a accesskey="p" href="ch02s04s04.html">Prev</a>┬á</td>
  23.           <th width="60%" align="center" id="sectionname">4.5.┬áUndoing</th>
  24.           <td width="20%" align="right">┬á<a accesskey="n" href="ch02s04s06.html">Next</a></td>
  25.         </tr>
  26.       </table>
  27.       <hr />
  28.     </div>
  29.     <div class="sect2" lang="en" xml:lang="en">
  30.       <div class="titlepage">
  31.         <div>
  32.           <div>
  33.             <h3 class="title"><a id="gimp-undo"></a>4.5.┬áUndoing</h3>
  34.           </div>
  35.         </div>
  36.       </div>
  37.       <a id="id3421968" class="indexterm"></a>
  38.       <p>
  39.     Almost anything you do to an image in GIMP can be undone.  You can
  40.     undo the most recent action by choosing
  41.     <span class="guimenu">Edit</span>-><span class="guimenuitem">Undo</span>
  42.     from the image menu, but this is done so frequently that you
  43.     really should memorize the keyboard shortcut,
  44.     <span><b class="keycap">Ctrl</b></span>-<span><b class="keycap">Z</b></span>.
  45.   </p>
  46.       <p>
  47.     Undoing can itself be undone.  After having undone an action, you
  48.     can <span class="emphasis"><em>redo</em></span> it by choosing
  49.     <span class="guimenu">Edit</span>-><span class="guimenuitem">Redo</span>
  50.     from the image menu, or use the keyboard shortcut,
  51.     <span><b class="keycap">Ctrl</b></span>-<span><b class="keycap">Y</b></span>.
  52.     It is often helpful to judge the effect of an action by repeatedly
  53.     undoing and redoing it.  This is usually very quick, and does not
  54.     consume any extra resources or alter the undo history, so there is
  55.     never any harm in it.
  56.   </p>
  57.       <div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
  58.         <table border="0" summary="Caution">
  59.           <tr>
  60.             <td rowspan="2" align="center" valign="top" width="25">
  61.               <img alt="[Caution]" src="../images/caution.png" />
  62.             </td>
  63.             <th align="left">Caution</th>
  64.           </tr>
  65.           <tr>
  66.             <td colspan="2" align="left" valign="top">
  67.               <p>
  68.     If you undo one or more actions and then operate on the image in
  69.     any way except by using Undo or Redo, it will no longer be possible
  70.     to redo those actions:  they are lost forever.  The solution to
  71.     this, if it creates a problem for you, is to duplicate the image
  72.     and then operate on the copy.  (<span class="emphasis"><em>Not</em></span> the
  73.     original, because the undo/redo history is not copied when you
  74.     duplicate an image.)
  75.     </p>
  76.             </td>
  77.           </tr>
  78.         </table>
  79.       </div>
  80.       <p>
  81.     If you often find yourself undoing and redoing many steps at a
  82.     time, it may be more convenient to work with the <a href="ch04s08.html" title="8.┬áUndo History dialog">Undo History dialog</a>, a
  83.     dockable dialog that shows you a small sketch of each point in the
  84.     Undo History, allowing you to go back or forward to that point by
  85.     clicking. 
  86.   </p>
  87.       <p>
  88.     Undo is performed on an image-specific basis:  the "Undo History"
  89.     is one of the components of an image.  GIMP allocates a certain
  90.     amount of memory to each image for this purpose.  You can
  91.     customize your Preferences to increase or decrease the amount,
  92.     using the <a href="ch04s18s14.html" title="18.14.┬áEnvironment">Environment</a> page of the
  93.     Preferences dialog.  There are two important variables:  the
  94.     <span class="emphasis"><em>minimal number of undo levels</em></span>, which GIMP
  95.     will maintain regardless of how much memory they consume, and the
  96.     <span class="emphasis"><em>maximum undo memory</em></span>, beyond which GIMP will
  97.     begin to delete the oldest items from the Undo History.
  98.   </p>
  99.       <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
  100.         <table border="0" summary="Note">
  101.           <tr>
  102.             <td rowspan="2" align="center" valign="top" width="25">
  103.               <img alt="[Note]" src="../images/note.png" />
  104.             </td>
  105.             <th align="left">Note</th>
  106.           </tr>
  107.           <tr>
  108.             <td colspan="2" align="left" valign="top">
  109.               <p>
  110.       Even though the Undo History is a component of an image, it is not
  111.       saved when you save the image using GIMP's native XCF format,
  112.       which preserves every other image property.  When the image is
  113.       reopened, it will have an empty Undo History.
  114.     </p>
  115.             </td>
  116.           </tr>
  117.         </table>
  118.       </div>
  119.       <p>
  120.     The implementation of Undo by GIMP is rather sophisticated.  Many
  121.     operations require very little Undo memory (e.g., changing
  122.     visibility of a layer), so you can perform long sequences of them
  123.     before they drop out of the Undo History.  Some operations
  124.     (changing layer visibility is again an example) are
  125.     <span class="emphasis"><em>compressed</em></span>, so that doing them several times
  126.     in a row produces only a single point in the Undo History.
  127.     However, there are other operations that may consume a lot of undo
  128.     memory.  Most filters are examples of this:  because they are
  129.     implemented by plug-ins, the GIMP core has no really efficient way
  130.     of knowing what they have changed, so it has no way to implement
  131.     Undo except by memorizing the entire contents of the affected
  132.     layer before and after the operation.  You might only be able to
  133.     perform a few such operations before they drop out of the Undo
  134.     History. 
  135.   </p>
  136.       <div class="simplesect" lang="en" xml:lang="en">
  137.         <div class="titlepage">
  138.           <div>
  139.             <div>
  140.               <h4 class="title"><a id="id3422167"></a>Things that cannot be Undone</h4>
  141.             </div>
  142.           </div>
  143.         </div>
  144.         <p>
  145.       Most actions that alter an image can be undone.  Actions that do
  146.       not alter the image generally cannot be.  This includes
  147.       operations such as saving the image to a file, duplicating the
  148.       image, copying part of the image to the clipboard, etc.  It also
  149.       includes most actions that affect the image display without
  150.       altering the underlying image data.  The most important example
  151.       is zooming.  There are, however, exceptions:  toggling QuickMask
  152.       on or off can be undone, even though it does not alter the image
  153.       data. 
  154.     </p>
  155.         <p>
  156.       There are a few important actions that do alter an image but
  157.       cannot be undone:
  158.     </p>
  159.         <div class="variablelist">
  160.           <dl>
  161.             <dt>
  162.               <span class="term">Closing the image</span>
  163.             </dt>
  164.             <dd>
  165.               <p>
  166.             The Undo History is a component of the image, so when the
  167.             image is closed and all of its resources are freed, the Undo
  168.             History goes along.  Because of this, unless the image has not
  169.             been modified since the last time it was saved, GIMP always
  170.             asks you to confirm that you really want to close it.  (You
  171.             can disable this in the <a href="ch04s18s14.html" title="18.14.┬áEnvironment">Environment</a> page of
  172.             the Preferences dialog; if you do, you are assuming
  173.             responsibility for thinking about what you are doing.)
  174.           </p>
  175.             </dd>
  176.             <dt>
  177.               <span class="term">Reverting the image</span>
  178.             </dt>
  179.             <dd>
  180.               <p>
  181.             "Reverting" means reloading the image from file.  GIMP
  182.             actually implements this by closing the image and creating a
  183.             new image, so the Undo History is lost as a consequence.
  184.             Because of this, if the image is unclean, GIMP always asks you
  185.             to confirm that you really want to revert the image.
  186.           </p>
  187.             </dd>
  188.             <dt>
  189.               <span class="term">"Pieces" of actions</span>
  190.             </dt>
  191.             <dd>
  192.               <p>
  193.             Some tools require you to perform a complex series of
  194.             manipulations before they take effect, but only allow you to
  195.             undo the whole thing rather than the individual elements.
  196.             For example, the Intelligent Scissors require you to create
  197.             a closed path by clicking at multiple points in the image,
  198.             and then clicking inside the path to create a selection.
  199.             You cannot undo the individual clicks:  undoing after you
  200.             are finished takes you all the way back to the starting
  201.             point.  For another example, when you are working with the
  202.             Text tool, you cannot undo individual letters, font changes,
  203.             etc.:  undoing after you are finished removes the newly
  204.             created text layer.
  205.           </p>
  206.             </dd>
  207.           </dl>
  208.         </div>
  209.         <p>
  210.       Filters, and other actions performed by plugins or scripts, can
  211.       be undone just like actions implemented by the GIMP core, but
  212.       this requires them to make correct use of GIMP's Undo
  213.       functions.  If the code is not correct, a plugin can potentially
  214.       corrupt the Undo History, so that not only the plugin but also
  215.       previous actions can no longer properly be undone.  The plugins
  216.       and scripts distributed with GIMP are all believed to be set up
  217.       correctly, but obviously no guarantees can be given for plugins
  218.       you obtain from other sources.  Also, even if the code is
  219.       correct, canceling a plugin while it is running can sometimes
  220.       leave the Undo History corrupted, so it is best to avoid this
  221.       unless you have accidentally done something whose consequences
  222.       are going to be very harmful.
  223.     </p>
  224.       </div>
  225.     </div>
  226.     <div class="navfooter">
  227.       <hr />
  228.       <table width="100%" summary="Navigation footer">
  229.         <tr>
  230.           <td width="40%" align="left"><a accesskey="p" href="ch02s04s04.html">Prev</a>┬á</td>
  231.           <td width="20%" align="center">
  232.             <a accesskey="u" href="ch02s04.html">Up</a>
  233.           </td>
  234.           <td width="40%" align="right">┬á<a accesskey="n" href="ch02s04s06.html">Next</a></td>
  235.         </tr>
  236.         <tr>
  237.           <td width="40%" align="left" valign="top">4.4.┬áThe Selection┬á</td>
  238.           <td width="20%" align="center">
  239.             <a accesskey="h" href="index.html">Home</a>
  240.           </td>
  241.           <td width="40%" align="right" valign="top">┬á4.6.┬áGrids and Guides</td>
  242.         </tr>
  243.       </table>
  244.     </div>
  245.   </body>
  246. </html>
  247.